package com.unicdata.ai.demo_2af.common.vo;

/**
 * @author lhn
 * @date 2025/06/25 17:11
 * @since 1.0.0
 **/

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 密码更新请求对象
 *
 * @author java-engineer
 */
@Data
public class PasswordUpdateRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 旧密码
     */
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    /**
     * 新密码
     */
    @NotBlank(message = "新密码不能为空")
    private String newPassword;

}